﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Cashier_Model
{
    [Table(Tablename="payments_sort")]
    public class PaymentsSort: BaseModel
    {
        private Int64 id;

        [Table(Columnname="id", Columntype="bigint", Iskey=true, Iscondition=true, Isdeletefield=true)]
        public Int64 Id
        {
            get { return id; }
            set { id = value; }
        }

        private String enterpriseNo;

        [Table(Columnname = "enterprise_no", Columntype = "varchar", Iscondition = true, Isdeletefield = true)]
        public String EnterpriseNo
        {
            get { return enterpriseNo; }
            set { enterpriseNo = value; }
        }

        private String name;

        [Table(Columnname="name", Columntype="varchar", Isupdatefield=true)]
        public String Name
        {
            get { return name; }
            set { name = value; }
        }

        private Int32 type;

        [Table(Columnname="type", Columntype="int", Iscondition=true, Isupdatefield=true)]
        public Int32 Type
        {
            get { return type; }
            set { type = value; }
        }
    }
}
